package goiot.dto;

import java.util.Date;
import java.util.Map;

public class MessageProperties implements IMessage {
	private String productId;
	private String deviceId;

	private Date createTime;
	private Map<String, ?> data;

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Map<String, ?> getData() {
		return data;
	}

	public void setData(Map<String, ?> data) {
		this.data = data;
	}

	@Override
	public String getType() {
		return "property";
	}

}
